From: Florian Müllner Date: Mon, 16 Dec 2024 14:38:07 +0000 (+0100) Subject: popupMenu: Avoid unnecessary accessible state update in switch items X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~177^2^2~10 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6c4efffeb9ce19fe007a6423c1c85039048e391e;p=gnome-shell.git popupMenu: Avoid unnecessary accessible state update in switch items The accessible state is already updated when changing the switch state. Part-of: (cherry picked from commit 6dbb2eef50da19820bbb1c469359a5114433b1ae) --- diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 5f94fcabd..efc7e464f 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -604,7 +604,6 @@ export const PopupSwitchMenuItem = GObject.registerClass({ setToggleState(state) { this._switch.state = state; - this._checkAccessibleState(); } _onToggled() {